package pe.com.bn.sach.domain;

import java.util.Date;

/**
 * Bnhbf05RegistroAuditoriaId entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Bnhbf05RegistroAuditoriaId implements java.io.Serializable {

	// Fields

	private Long f05IdSequence;
	private Long f05IdServicio;
	private String f05AliasEntidad;
	private String f05Ncuenta;
	private Date f05FeLog;
	private String f05Consulta;
	private String f05IpPc;

	// Constructors

	/** default constructor */
	public Bnhbf05RegistroAuditoriaId() {
	}

	/** minimal constructor */
	public Bnhbf05RegistroAuditoriaId(Long f05IdSequence,
			String f05AliasEntidad, String f05Ncuenta, Date f05FeLog) {
		this.f05IdSequence = f05IdSequence;
		this.f05AliasEntidad = f05AliasEntidad;
		this.f05Ncuenta = f05Ncuenta;
		this.f05FeLog = f05FeLog;
	}

	/** full constructor */
	public Bnhbf05RegistroAuditoriaId(Long f05IdSequence, Long f05IdServicio,
			String f05AliasEntidad, String f05Ncuenta, Date f05FeLog,
			String f05Consulta, String f05IpPc) {
		this.f05IdSequence = f05IdSequence;
		this.f05IdServicio = f05IdServicio;
		this.f05AliasEntidad = f05AliasEntidad;
		this.f05Ncuenta = f05Ncuenta;
		this.f05FeLog = f05FeLog;
		this.f05Consulta = f05Consulta;
		this.f05IpPc = f05IpPc;
	}

	// Property accessors

	public Long getF05IdSequence() {
		return this.f05IdSequence;
	}

	public void setF05IdSequence(Long f05IdSequence) {
		this.f05IdSequence = f05IdSequence;
	}

	public Long getF05IdServicio() {
		return this.f05IdServicio;
	}

	public void setF05IdServicio(Long f05IdServicio) {
		this.f05IdServicio = f05IdServicio;
	}

	public String getF05AliasEntidad() {
		return this.f05AliasEntidad;
	}

	public void setF05AliasEntidad(String f05AliasEntidad) {
		this.f05AliasEntidad = f05AliasEntidad;
	}

	public String getF05Ncuenta() {
		return this.f05Ncuenta;
	}

	public void setF05Ncuenta(String f05Ncuenta) {
		this.f05Ncuenta = f05Ncuenta;
	}

	public Date getF05FeLog() {
		return this.f05FeLog;
	}

	public void setF05FeLog(Date f05FeLog) {
		this.f05FeLog = f05FeLog;
	}

	public String getF05Consulta() {
		return this.f05Consulta;
	}

	public void setF05Consulta(String f05Consulta) {
		this.f05Consulta = f05Consulta;
	}

	public String getF05IpPc() {
		return this.f05IpPc;
	}

	public void setF05IpPc(String f05IpPc) {
		this.f05IpPc = f05IpPc;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Bnhbf05RegistroAuditoriaId))
			return false;
		Bnhbf05RegistroAuditoriaId castOther = (Bnhbf05RegistroAuditoriaId) other;

		return ((this.getF05IdSequence() == castOther.getF05IdSequence()) || (this
				.getF05IdSequence() != null
				&& castOther.getF05IdSequence() != null && this
				.getF05IdSequence().equals(castOther.getF05IdSequence())))
				&& ((this.getF05IdServicio() == castOther.getF05IdServicio()) || (this
						.getF05IdServicio() != null
						&& castOther.getF05IdServicio() != null && this
						.getF05IdServicio()
						.equals(castOther.getF05IdServicio())))
				&& ((this.getF05AliasEntidad() == castOther
						.getF05AliasEntidad()) || (this.getF05AliasEntidad() != null
						&& castOther.getF05AliasEntidad() != null && this
						.getF05AliasEntidad().equals(
								castOther.getF05AliasEntidad())))
				&& ((this.getF05Ncuenta() == castOther.getF05Ncuenta()) || (this
						.getF05Ncuenta() != null
						&& castOther.getF05Ncuenta() != null && this
						.getF05Ncuenta().equals(castOther.getF05Ncuenta())))
				&& ((this.getF05FeLog() == castOther.getF05FeLog()) || (this
						.getF05FeLog() != null
						&& castOther.getF05FeLog() != null && this
						.getF05FeLog().equals(castOther.getF05FeLog())))
				&& ((this.getF05Consulta() == castOther.getF05Consulta()) || (this
						.getF05Consulta() != null
						&& castOther.getF05Consulta() != null && this
						.getF05Consulta().equals(castOther.getF05Consulta())))
				&& ((this.getF05IpPc() == castOther.getF05IpPc()) || (this
						.getF05IpPc() != null
						&& castOther.getF05IpPc() != null && this.getF05IpPc()
						.equals(castOther.getF05IpPc())));
	}

	public int hashCode() {
		int result = 17;

		result = 37
				* result
				+ (getF05IdSequence() == null ? 0 : this.getF05IdSequence()
						.hashCode());
		result = 37
				* result
				+ (getF05IdServicio() == null ? 0 : this.getF05IdServicio()
						.hashCode());
		result = 37
				* result
				+ (getF05AliasEntidad() == null ? 0 : this.getF05AliasEntidad()
						.hashCode());
		result = 37
				* result
				+ (getF05Ncuenta() == null ? 0 : this.getF05Ncuenta()
						.hashCode());
		result = 37 * result
				+ (getF05FeLog() == null ? 0 : this.getF05FeLog().hashCode());
		result = 37
				* result
				+ (getF05Consulta() == null ? 0 : this.getF05Consulta()
						.hashCode());
		result = 37 * result
				+ (getF05IpPc() == null ? 0 : this.getF05IpPc().hashCode());
		return result;
	}

}